package com.zp.drug.mapper;


import com.zp.common.myBatis.core.mapper.BaseMapperPlus;
import com.zp.drug.entity.DrugInoutClass;
import com.zp.drug.entity.bo.DrugInoutClassBo;
import com.zp.drug.entity.vo.DrugInoutClassVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 出入库分类字典表Mapper接口
 *
 * @author zhang peng
 * @ date 2023-06-20
 */
@Repository
public interface DrugInoutClassMapper extends BaseMapperPlus<DrugInoutClassMapper, DrugInoutClass, DrugInoutClassVo> {

    /**
     * 根据科室id 出入库类型获取库房对应的出入库方式
     *
     * @param bo
     * @return
     */
    List<DrugInoutClassVo> getStoreroomDistinguish (DrugInoutClassBo bo);

}
